-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Terraform Provider Google v6.16.0 #697
base: main
Are you sure you want to change the base?
Upgrade to Terraform Provider Google v6.16.0 #697
Conversation
Thanks for opening this PR @rickard-von-essen 🙏 Terraform provider major version bump to v6 requires many breaking changes, including field type changes. I don't think it will be easy to consider the impact of these changes and handle accordingly. So, please be patient if we were not able to invest enough resources into this PR in the near future. In order to make the reviewing easier, can you divide your work into commits? You can see a previous Terraform provider bump PR, in which we even committed There is a categorical change that we might want to consider how to handle: There are many resources which have a new |
c9c43f2
to
7859d44
Compare
Add new arg to conversion.RegisterConversions() github.com/crossplane/crossplane-runtime v1.17.0 github.com/crossplane/upjet v1.4.1-0.20250108142216-db86f70a1651 Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Resource: google_datastore_index is now removed in favor of google_firestore_index See https://github.com/hashicorp/terraform-provider-google/blob/v6.16.0/website/docs/guides/version_6_upgrade.html.markdown#resource-google_datastore_index-is-now-removed Signed-off-by: Rickard von Essen <[email protected]>
google_identity_platform_project_default_config is removed in favor of google_identity_platform_project_config See https://github.com/hashicorp/terraform-provider-google/blob/v6.16.0/website/docs/guides/version_6_upgrade.html.markdown#resource-google_identity_platform_project_default_config-is-now-removed Signed-off-by: Rickard von Essen <[email protected]>
…project_default_config, and datastore Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
Signed-off-by: Rickard von Essen <[email protected]>
7859d44
to
8f03301
Compare
Signed-off-by: Rickard von Essen <[email protected]>
2651c4d
to
e78d986
Compare
/test-examples="examples/activedirectory/v1beta1/domain.yaml,examples/alloydb/v1beta2/backup.yaml,examples/alloydb/v1beta2/instance.yaml,examples/alloydb/v1beta2/cluster.yaml,examples/alloydb/v1beta1/backup.yaml,examples/alloydb/v1beta1/instance.yaml,examples/alloydb/v1beta1/cluster.yaml,examples/artifact/v1beta2/registryrepository.yaml,examples/artifact/v1beta1/registryrepository.yaml,examples/apigee/v1beta1/nataddress.yaml" |
/test-examples="examples/certificatemanager/v1beta2/certificate.yaml,examples/certificatemanager/v1beta1/certificate.yaml" |
/test-examples="examples/cloudbuild/v1beta2/workerpool.yaml" |
/test-examples="examples/cloudplatform/v1beta2/serviceaccountiammember.yaml,examples/cloudplatform/v1beta2/projectiammember.yaml,examples/cloudplatform/v1beta1/projectiamauditconfig.yaml,examples/cloudplatform/v1beta1/serviceaccountkey.yaml,examples/cloudplatform/v1beta1/projectservice.yaml,examples/cloudplatform/v1beta1/projectusageexportbucket.yaml,examples/cloudplatform/v1beta1/serviceaccountiammember.yaml,examples/cloudplatform/v1beta1/serviceaccount.yaml,examples/cloudplatform/v1beta1/projectiammember.yaml" |
/test-examples="examples/cloudrun/v1beta2/domainmapping.yaml,examples/cloudrun/v1beta2/v2job.yaml,examples/cloudrun/v1beta2/v2service.yaml,examples/cloudrun/v1beta1/domainmapping.yaml,examples/cloudrun/v1beta1/v2job.yaml,examples/cloudrun/v1beta1/v2service.yaml" |
deletion_protection was added in Terraform to help protect from remove/create a resource when you change an immutable attribute. This is not allowed in Crossplane so this is unnecessary. Also this overlap with Crossplane managementPolicy. Signed-off-by: Rickard von Essen <[email protected]>
Description of your changes
Update the underlaying Terraform Provider Goolge to version 6.16.0.
Depends on #695
TODO:
provider-upjet-gcp
major version? Suggest to create v2.0.0.docs/family/Upgrade_v2.md
deletionProtection
decide how to handle it (change default?)Changed resources:
activedirectory_*
addeddeletionProtection
alloydb
multiple changesapigee_nataddresses
addedactivate
flagartifact
multiple changesbigtable_appprofile
addedrowAffinity
bigtable_table
addedcolumnFamily.type
bigquery
multiple changescertificatemanager
: addedsanDnsnames
cloudbuild
addedprivateServiceConnect
cloudplatform
multiple changescloudrun_*
multiple updatescloudtasks
multiple changescomposer
multiple changescompute_*
multiple updatescontainerattached_cluster
addsecurityPostureConfig
container
multiple changescontaineraws_nodepool
addedkubeletConfig
dataproc
multiple changesdatastore_index
removeddialogflowcx_agent
addedloggingSettings
andspeechSettings
dns
addedexternalEndpoints
andhealthcheck
filestore
multiple changesiam
multiple changesidentity_platform
: Replacedproject_default_config
withconfig
orgpolicy_policy
addedparameters
monitoring
multiple changesnetworkconnectivity
multiple changespubsub
multiple changesredis_cluster
multiple changessourcerepo
addedcreateIgnoreAlreadyExists
torepository
spanner
multiple changesstorage
multiple changessql
multiple changesworkflows_workflows
addeddeletionProtection
vpcaccess_connector
updated testTODO
Fixes #694
Fixes #656
(probably) Fixes #685
I have:
make reviewable
to ensure this PR is ready for review.Addedbackport release-x.y
labels to auto-backport this PR if necessary.How has this code been tested
Executed some sanity check with: